package com.xc.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 架子表
 * </p>
 *
 * @author xc
 * @since 2024-05-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("wh_shelf")
@Schema(name = "WhShelf对象", description = "架子表")
public class WhShelf implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(name = "编码")
    private String code;

    @Schema(name = "名称")
    private String name;

    @Schema(name = "所属库区ID")
    private Long areaId;

    @Schema(name = "货架类型id")
    private Long type;

    @Schema(name = "状态")
    private Integer status;

    private LocalDateTime createDate;

    private String createUserId;

    private String updateUserId;

    private LocalDateTime updateDate;

    private Long delFlag;

    private String description;

    @Schema(name = "版本号")
    private Long ver;

    @Schema(name = "满载货位数量")
    private Integer fullNum;

    @Schema(name = "货位总数量")
    private Integer totalNum;

    @Schema(name = "货架存放顺序")
    private Integer inOrder;

    @Schema(name = "货架取出顺序")
    private Integer outOrder;

    @Schema(name = "x坐标")
    private Integer x;

    @Schema(name = "y坐标")
    private Integer y;

    @Schema(name = "z坐标")
    private Integer z;

    @Schema(name = "角度")
    private Integer angle;


}
